#include <time.h>
#include <string>
#include <sstream>
using std::string; 
#define _CRT_SECURE_NO_DEPRECATE 0
/*initialization: we generate a cer with an initial number, later on we shall initiate the rest*/ 
/*note: car_parking (-2) states the car is not in the parking lot*/
class Car 
{
public:
	int		car_id; 
	int		license_plate; 
	time_t	entry_time; 
	int	car_parking;//Current parking spot, -1 if traveling inside the parking , -2 if the car is out of the parking (existed or never entered)
	int times_in; 

	Car	(int id): car_id(id),license_plate(0),car_parking(-1),times_in(0)
	{
		time_t rawtime;
		entry_time=time (&rawtime );
	}
	Car		():  car_id(0),license_plate(0),car_parking(-1),times_in(0) {};
	~Car	()	{}; 
};